package com.card.vo;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/** 
 * ClassName: GiftUpdate <br/> 
 * Function: 修改礼物. <br/>  
 * date: 2018年12月11日 下午3:30:50 <br/> 
 * 
 * @author lishuai11 
 * @version  
 * @since JDK 1.8
 */
@ApiModel
public class GiftUpdate {

	@ApiModelProperty(name = "giftName", value = "礼物名称", dataType = "String", required = true)
	@NotBlank(message = "礼物名称不为空")
	private String giftName;

	@ApiModelProperty(name = "giftImage", value = "礼物图片", dataType = "String", required = true)
	@NotBlank(message = "请选择礼物图片")
	private String giftImage;

	@ApiModelProperty(name = "giftDec", value = "礼物简介", dataType = "String", required = true)
	@NotBlank(message = "礼物简介不可为空")
	private String giftDec;

	@ApiModelProperty(name = "giftDetail", value = "礼物详细介绍（可不填）", dataType = "String")
	private String giftDetail;

	@ApiModelProperty(name = "giftPrice", value = "礼物价格", dataType = "double", notes = "默认为0.00元")
	private BigDecimal giftPrice = new BigDecimal(0.00);

	@ApiModelProperty(name = "oneSign", value = "礼物一级标签", dataType = "String", notes = "标签：电话卡，水果，办公文具，数码产品等等(暂时填写:PHONE_CARD,代表电话卡)", required = true)
	@NotBlank(message = "一级标签不为空")
	private String oneSign;

	@ApiModelProperty(name = "twoSign", value = "礼物二级标签", dataType = "String", notes = "标签：中国移动(CM),中国电信(CT),中国联通(CU)", required = true)
	@NotBlank(message = "二级标签不为空")
	private String twoSign;

	@ApiModelProperty(name = "score", value = "礼物所需积分", dataType = "int", notes = "兑换礼物需要的积分", required = true)
	@NotNull(message = "所需积分不为空")
	private int score;

	/**
	 * @return the giftName
	 */
	public String getGiftName() {
		return giftName;
	}

	/**
	 * @param giftName the giftName to set
	 */
	public void setGiftName(String giftName) {
		this.giftName = giftName;
	}

	/**
	 * @return the giftImage
	 */
	public String getGiftImage() {
		return giftImage;
	}

	/**
	 * @param giftImage the giftImage to set
	 */
	public void setGiftImage(String giftImage) {
		this.giftImage = giftImage;
	}

	/**
	 * @return the giftDec
	 */
	public String getGiftDec() {
		return giftDec;
	}

	/**
	 * @param giftDec the giftDec to set
	 */
	public void setGiftDec(String giftDec) {
		this.giftDec = giftDec;
	}

	/**
	 * @return the giftDetail
	 */
	public String getGiftDetail() {
		return giftDetail;
	}

	/**
	 * @param giftDetail the giftDetail to set
	 */
	public void setGiftDetail(String giftDetail) {
		this.giftDetail = giftDetail;
	}

	/**
	 * @return the giftPrice
	 */
	public BigDecimal getGiftPrice() {
		return giftPrice;
	}

	/**
	 * @param giftPrice the giftPrice to set
	 */
	public void setGiftPrice(BigDecimal giftPrice) {
		this.giftPrice = giftPrice;
	}

	/**
	 * @return the oneSign
	 */
	public String getOneSign() {
		return oneSign;
	}

	/**
	 * @param oneSign the oneSign to set
	 */
	public void setOneSign(String oneSign) {
		this.oneSign = oneSign;
	}

	/**
	 * @return the twoSign
	 */
	public String getTwoSign() {
		return twoSign;
	}

	/**
	 * @param twoSign the twoSign to set
	 */
	public void setTwoSign(String twoSign) {
		this.twoSign = twoSign;
	}

	/**
	 * @return the score
	 */
	public int getScore() {
		return score;
	}

	/**
	 * @param score the score to set
	 */
	public void setScore(int score) {
		this.score = score;
	}
	
}
